package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 student_family_member
 *
 * @author ruoyi
 * @date 2023-11-11
 */
public class StudentFamilyMember extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 关系 */
    @Excel(name = "关系")
    private String relationship;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private String political;

    /** 工作单位及职务 */
    @Excel(name = "工作单位及职务")
    private String unitAndPosition;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String tel;

    /** 关联学生id */
    @Excel(name = "关联学生id")
    private String studentId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setRelationship(String relationship)
    {
        this.relationship = relationship;
    }

    public String getRelationship()
    {
        return relationship;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setNation(String nation)
    {
        this.nation = nation;
    }

    public String getNation()
    {
        return nation;
    }
    public void setPolitical(String political)
    {
        this.political = political;
    }

    public String getPolitical()
    {
        return political;
    }
    public void setUnitAndPosition(String unitAndPosition)
    {
        this.unitAndPosition = unitAndPosition;
    }

    public String getUnitAndPosition()
    {
        return unitAndPosition;
    }
    public void setTel(String tel)
    {
        this.tel = tel;
    }

    public String getTel()
    {
        return tel;
    }
    public void setStudentId(String studentId)
    {
        this.studentId = studentId;
    }

    public String getStudentId()
    {
        return studentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("relationship", getRelationship())
                .append("name", getName())
                .append("nation", getNation())
                .append("political", getPolitical())
                .append("unitAndPosition", getUnitAndPosition())
                .append("tel", getTel())
                .append("studentId", getStudentId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
